package org.zjvis.datascience.service.mapper;

import org.springframework.stereotype.Component;
import org.zjvis.datascience.common.dto.JhubDTO;

@Component
public interface JhubMapper {
    Long queryExistence(Long userId);

    JhubDTO queryByUserId(Long userId);

    Long insert(JhubDTO dto);

    Long update(JhubDTO dto);

    Long updateByUser(JhubDTO dto);
}
